Skip to content

Widen tool allow-lists for Daily Agent of the Day Blog Writer and Layout Specification Maintainer - #46970

Merged
pelikhan merged 3 commits into
mainfrom
copilot/deep-report-widen-allow-lists
Jul 21, 2026
Merged

Widen tool allow-lists for Daily Agent of the Day Blog Writer and Layout Specification Maintainer#46970
pelikhan merged 3 commits into
mainfrom
copilot/deep-report-widen-allow-lists

Conversation

Copilot AI commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Two workflows started failing after repeatedly hitting the Copilot SDK tool-denial threshold. The failures came from denied git command variants used by the prompts but missing from each workflow’s tools.bash allow-list.

  • Scope

    • Updated workflow frontmatter for:
      • .github/workflows/daily-agent-of-the-day-blog-writer.md
      • .github/workflows/layout-spec-maintainer.md
    • Regenerated corresponding .lock.yml files to keep compiled policy in sync.
  • Allow-list reconciliation

    • Added missing git command shapes observed in failing runs (notably cd ... && git ..., git -C ..., and combined git add && git commit forms).
    • Kept changes limited to denied patterns, without broadening to unrestricted shell access.
  • Guardrail regression coverage

    • Added focused assertions in pkg/workflow/prompts_test.go to ensure these allow-list entries remain present for both workflows and reduce risk of denial-limit regressions.
tools:
  bash:
    - "cd * && git status"
    - "git add * && git commit *"
    - "cd * && git checkout -b * && git add * && git commit *"

Copilot AI and others added 2 commits July 21, 2026 05:01
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Widen tool allow-lists for Agent of the Day Blog Writer and Layout Specification Maintainer Widen tool allow-lists for Daily Agent of the Day Blog Writer and Layout Specification Maintainer Jul 21, 2026
Copilot AI requested a review from pelikhan July 21, 2026 05:13
@pelikhan
pelikhan marked this pull request as ready for review July 21, 2026 05:15
Copilot AI review requested due to automatic review settings July 21, 2026 05:15
@pelikhan
pelikhan merged commit a3e9789 into main Jul 21, 2026
@pelikhan
pelikhan deleted the copilot/deep-report-widen-allow-lists branch July 21, 2026 05:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Widens two agentic workflows’ Git command allow-lists to reduce Copilot SDK tool-denial failures.

Changes:

  • Adds denied Git command variants to both workflows.
  • Regenerates compiled workflow policies.
  • Adds regression assertions for the allow-lists.
Show a summary per file
File Description
.github/workflows/daily-agent-of-the-day-blog-writer.md Expands Git command permissions.
.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml Updates compiled policy.
.github/workflows/layout-spec-maintainer.md Expands Git command permissions.
.github/workflows/layout-spec-maintainer.lock.yml Updates compiled policy.
pkg/workflow/prompts_test.go Verifies new allow-list entries.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 5/5 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment on lines +48 to +50
- "git add *"
- "git add * && git commit *"
- "cd * && git checkout -b * && git add * && git commit *"
Comment on lines +437 to +439
` - "git add *"`,
` - "git add * && git commit *"`,
` - "cd * && git checkout -b * && git add * && git commit *"`,
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deep-report] Widen tool allow-lists for Agent of the Day Blog Writer & Layout Specification Maintainer

3 participants